package com.rc.saas.tenant.service.elec;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.elec.ElecStationPriceMapper;
import com.rc.saas.tenant.model.elec.ElecStationPrice;
import com.rc.saas.tenant.model.elec.ElecStationPriceExample;
import com.rc.saas.tenant.search.elec.ElecStationPriceSearch;
import com.rc.saas.tenant.vo.hlht.HlhtTenantOpenStationPriceVo;

import java.util.List;

/**
 * @author frog
 * @date 2019/11/11
 */
public interface ElecStationPriceService extends BaseService<Long, ElecStationPrice, ElecStationPriceExample, ElecStationPriceMapper> {
    List<ElecStationPrice> listPriceByStationId(Long elecStationId);

    PageInfo<ElecStationPrice> searchByCondition(ElecStationPriceSearch elecStationPriceSearchVo);

    List<HlhtTenantOpenStationPriceVo> listStationPriceAndOpenPrice(String tenantCode,String hlhtOpenType,
                                                                    String hlhtTenantCode,String hlhtOperatorId,
                                                                    Long elecStationId);

    void insertSelectiveReturnId(ElecStationPrice elecStationPrice);

}
